//
//  Dis_BannerCell.swift
//  ListenFM
//
//  Created by szq on 2017/8/9.
//  Copyright © 2017年 胡定锋. All rights reserved.
//

import UIKit

class Dis_BannerCell: UITableViewCell {

    var label = UILabel()
    
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        setUpViews()
        
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    func setUpViews(){
        
        contentView.addSubview(label)
    
    }
    
    override func layoutSubviews() {

        super.layoutSubviews()
        label.frame = CGRect.init(x: 10, y: 10, width: SCR_WIDTH, height: 20)
        label.text = "搜索主播/节目"
        label.font = UIFont.systemFont(ofSize: 13)
        label.textColor = UIColor.lightGray
        
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        
    }

}
